package model

import (
	"time"
)

type AuSmsAuthCode struct {
	SmsId      int       `xorm:"not null pk autoincr INT(11)"`
	Uuid       string    `xorm:"not null VARCHAR(200)"`
	Phone      int64     `xorm:"not null default 0 BIGINT(11)"`
	AuthCode   string    `xorm:"not null VARCHAR(6)"`
	Type       int       `xorm:"not null default 0 TINYINT(1)"`
	ExpireTime int       `xorm:"default 0 INT(11)"`
	AuthTime   time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
}
